package com.hrs.core.mapper;

import com.hrs.enity.db.PayOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hrs.enity.dto.PayOrderViewDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
* @author 纱雾休比酱
* @description 针对表【t_pay_order(发放单)】的数据库操作Mapper
* @createDate 2023-01-13 10:06:01
* @Entity com.hrs.enity.db.PayOrder
*/
@Mapper
public interface PayOrderMapper extends BaseMapper<PayOrder> {

    List<PayOrderViewDto> listPayOrder(@Param("year") Integer year,@Param("month") Integer month,
                                       @Param("status") Integer status,@Param("idKey") String idKey , @Param("key") String key);

    Set<Integer> listNeedDeptIds(@Param("status") Integer status);
}




